﻿
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Model;

namespace IBLL
{
    public interface IHotelBLL
    {
        /// <summary>
        /// 添加
        /// </summary>
        /// <param name="m">职员信息表</param>
        /// <returns>返回匿名函数</returns>
        Task<int> HAdd(Hotel m);
        /// <summary>
        /// 显示
        /// </summary>
        /// <param name="lx">职员类型 准确</param>
        /// <param name="name">姓名 模糊查询</param>
        /// <returns>通过条件查询来返回数据</returns>
       IQueryable<Hotel> HShow(int? lx,string? name);
    }
}
